
def run(params:list[str]):
    from ApiTools import apiTools,apiBase
    collects=apiBase.argv_array(params,1,'proc/extract/tablename;',';')
    try:
        vectdb = apiTools.load_vec()
        names=[]
        for clt in collects:
            names.append(vectdb.get_collection_name(clt))
        #print(names)
        return names
    except Exception as e:
        return f"function error:{e}"